Release 10.1A: OpenEdge Development:
Web Services


Releasing an object

The following steps use the object ID handler (PscObjectIDHandler) to manage the object IDs of the two objects about to be released.

To release the CustomerOrder ProcObject:

  1. Release the logical connection. For example, to release the CustomerOrder ProcObject, call this method:
  2. custOrder.release_CustomerOrder( ); 
    

  3. Remove (release) the ProcObject ID from the object ID handler, so this ProcObject ID cannot be used again, as shown:
  4. custOrderControlBlock.releaseObjectNameID("CustomerOrder"); 
    

To release the OrderInfo AppObject:

  1. Release the logical connection for the OrderInfo AppObject, as shown:
  2. orderInfo.release_OrderInfo( ); 
    

  3. Remove (release) the AppObject ID from the object ID handler, so this AppObject ID cannot be used again. For example:
  4. orderInfoControlBlock.releaseObjectNameID("OrderInfo"); 
    


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095